/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.OCPviolation.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.OCPviolation.Boxes;
import za.ac.cput.OCPviolation.impl.BoxesImpl;

/**
 *
 * @author Enkosi
 */
@Configurable
public class Config {
    @Bean(name="boxes")
    public Boxes calcPerimeter(){
        return new BoxesImpl();
    }
}
